beginoutdoorscript;

variables;

body;

beginstate 0;
break;

beginstate 2;
break;

beginstate 13;
if (get_flag(66,1) == 0){
message_dialog("Just as you were about to feel even more queasy, you appeared here, in the unknown.","You finally take a look around you at your new surroundings. It is a VERY weird land. Half of it is Surface Land, yet the other half is Avernite Land. Cave trees grow alongside surface trees, and weird animals dart to and fro.");
message_dialog("You continue to look about you, taking in the weird landscape. But as you do so, you begin to feel worried.","");
message_dialog("You have heard tales of this phenomenon. You think back on when you went to training school, remembering","what the old wizard had said. _A TRAVERSAI, taken from the word TRAVERSE, to get from one place to another._");
    reset_dialog();
	add_dialog_str(0,"A TRAVERSAI is a magical gateway, similar to a Portal only in the fact that it transports you from one place to another. A TRAVERSAI is a very dangerous plane of existance, and any who travel them are warned to be wary,",0);
	add_dialog_str(1,"For the TRAVERSAI is the creation of a powerful Mage, Priest, Sorceror or Wizard. They take you from one destination to another. However, since the use of Portals have become more prominent, TRAVERSAI have slowly dwindled away.",0);
	add_dialog_str(2,"Very few people now know how to create one. A TRAVERSAI is easily distinguishable by the fact that it's landscape is split into two parts, the origintamal position, and the destinatamal position. The origintamal position is always the Top half",0);
	add_dialog_str(3,"Of the Landscape, and the destinatamal is the lower half of the landscape. The two halves appear to just be straight lines across the overall landscape. There is generally one town or such place as might be called a town in a TRAVERSAI.",0);
	add_dialog_str(4,"Only in the rare cases that the person who cast the TRAVERSAI having a split personality makes the TRAVERSAI contain two towns. TRAVERSAI towns are the most dangerous part of the TRAVERSAI, mostly, as they contain the ideas of the person who...",0);
	add_dialog_str(5,"Created the TRAVERSAI. Normally, after passing the TRAVERSAI towns, which are called RAHVERSAI, you will reach the end of the TRAVERSAI._ You sigh, and decide to press onwards, into the Traversai.",0);
	add_dialog_choice(0,"Enter the Traversai!");
	run_dialog(0);
	set_flag(66,1,1);}
break;

beginstate 66;
if (get_flag(45,2) < 1){  
message_dialog("Ahead of you, the forest opens out into a small clearing. That must be the way on!","You surge forwards with renewed hope. You might just get out of this alive after all.");
set_flag(45,2,1);}
break;

beginstate 37;
if (get_flag(5,18) < 1){  
message_dialog("You come up to the clearing. Null bugs, or creatures that look suspiciously like them, are squatting in the middle of it. You can also see, though much less visible, small glimmers in the air, where invisible monsters must be.","With a heavy heart, you walk forwards, prepared to fight! Maybe if you summon some help, you can survive?");
set_flag(5,18,1);}
break;